POST /cloud/details
Save Cloud Details (saveCloudDetails)
Saves the cloud details.
Consumes
This API call consumes the following media types via the Content-Type request header:
- application/json
Request body
CloudDetails CloudDetails (required)
Body Parameter — Cloud details
Return type
CloudDetails
AWS Example data
Content-Type: application/json
{
"name" : "awsCloudDetails",
"credentialsId" : {
"value" : "datacenter-2_vpc-1410ff71_1520844861_B2k"
"_type" : "CredentialsId"
},
"availabilityZoneToSubnet" : {
"eu-west-1c": "subnet-c1484887"
"_type" : "StringToObjectMap"
},
"securityGroupIds": ["sg-48539e2d"],
"region": "eu-west-1"
"_type" : "AwsCloudDetails"
}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
- application/json
Responses
201
Created CloudDetails
Default
Error ErrorInfo
errorCode (optional) |
String |
url(optional) |
String |
message (optional) |
String |